Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / PictureCollection Class / Insert Method / Insert(Byte[],String,Single,Single,InsertLocation) Method
The image data representing the picture.
The content type of the image data.
The picture's width, in points.
The picture's height, in points.
The target InsertLocation for the insertion.

In This Topic
    Insert(Byte[],String,Single,Single,InsertLocation) Method
    In This Topic
    Inserts a Picture into this collection at a specified location.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal imageBytes() As System.Byte, _
       ByVal contentType As System.String, _
       ByVal width As System.Single, _
       ByVal height As System.Single, _
       ByVal location As InsertLocation _
    ) As Picture
    public Picture Insert( 
       System.byte[] imageBytes,
       System.string contentType,
       System.float width,
       System.float height,
       InsertLocation location
    )

    Parameters

    imageBytes
    The image data representing the picture.
    contentType
    The content type of the image data.
    width
    The picture's width, in points.
    height
    The picture's height, in points.
    location
    The target InsertLocation for the insertion.

    Return Value

    The inserted Picture.
    See Also